﻿<div class="cellheadcontainer">
    <span class="celltitletext">{{elementtitle}}</span>
    <div class="celltitleop">
        <a style="color:white" class="morebtn" onclick="OpenMore('{{elementmoreurl}}')">更多</a>
    </div>
</div>
<div class="cellcontentcontainer">
    {{#data}}
    <div class="notciecell" onclick="OpenDetail('{{title}}')">
        <div class="noticeleft">
            <span class="noticetitle noticeindex">{{index}}</span>
            <span class="noticetitle">{{title}}</span>
        </div>
        <div class="noticeright">
            <span class="noticetip">{{publishuname}}</span>&nbsp;
            <span class="noticetip">{{publishdate}}</span>
        </div>
    </div>
    {{/data}}
</div>
<script>
    var noticeid = "{{elementid}}";
    function OpenMore(url) {
        OpenTopDialog( '消息通知列表', url, 600, 800, BindNotcieList)
    }
    function BindNotcieList() {
        CommonRefresh(noticeid);
    }
    function OpenDetail(title) {
        OpenTopDialog('消息详情', "frame/demo/notice/noticeDetail", 600, 800, BindNotcieList, title)
    }
</script>